//BI报表模块

import http from '@/lib/http'


// 工人工资报表查询
export function getSalaryReport(params) {
    return http.postRequest(`/salary/report`, params)
}

// 工资明细查询
export function getSalaryDetail(params) {
    return http.getRequest(`/salary/detail`, params)
}

// 实动工时查询
export function getActualWorkingDetail(params) {
    return http.getRequest(`/working/detail`, params)
}

// 02_09_通知单可见性
export function exportSalaryReport(params) {
    return http.getRequest(`/salary/report/export`, params)
}


//08_01_完工报表
export function selectReportCompletion(params) {
    return http.getRequest(`/report/completion`, params)
}



//08_05_工资报表（公司）
export function selectReportSalaryCompany(params) {
    return http.getRequest(`/report/salary/company`, params)
}

//echart工资报表（公司）
export function selectSalaryCompany(params) {
    return http.getRequest(`/SalaryCompany`, params)

}

//echart工资报表(个人)
export function selectSalaryPerson(params) {
    return http.getRequest(`/BisalaryPerson`, params)
}

// 确认完工记录
export function confirmWorkRecord(params) {
    return http.getRequest(`/work/record/confirm`, params)
}

// 退回完工记录
export function sendBackWorkRecord(params) {
    return http.getRequest(`/work/record/back`, params)
}

//echart设备报表
export function selectEquipment(params) {
    return http.getRequest(`/Bi`, params)
}